<?php


namespace App\Services\Result;


use App\Models\Examination;
use Illuminate\Http\Request;

abstract class BaseResult implements ResultInterface
{
    public $examination_id;

    public function pageLimit()
    {
        return request()->input('page-limit',15);
    }

    public function show(Examination $testResult, Request $request)
    {
        // 当前考试安排id
        $this->examination_id = $testResult->id;
    }
}
